using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace XDL.Framework.Particles
{
    public class LineTrailSettings
    {
        /// <summary>
        /// Texture to draw trails
        /// </summary>
        /// <remarks>
        /// The texture should repeat along the x axis.
        /// </remarks>
        public string TextureName = null;

        /// <summary>
        /// Maximum number of lines that can be displayed at one time. 
        /// </summary>
        public int MaxLines = 1024;

        /// <summary>
        /// How long these particles will last (max). 
        /// </summary>
        public TimeSpan Duration = TimeSpan.FromSeconds(5);

        /// <summary>
        /// Trail start color.
        /// </summary>
        public Color StartColor = Color.White;

        /// <summary>
        /// Trail end color.
        /// </summary>
        public Color EndColor = Color.White;

        /// <summary>
        /// Ending trail width
        /// </summary>
        public float EndSize = 0.5f;
        /// <summary>
        /// Starting trail width
        /// </summary>
        public float StartSize = 1.25f;

        // Alpha blending settings.
        public BlendState BlendState = BlendState.AlphaBlend;
    }
}
